API Documentation
ScriptWrapper.h
1 // ScriptWrapper.h
3 //
5 
7 {
11  class DLL_ASTRAEUS_EXPORT ScriptWrapper final
12  {
13  public :
14 
15  // Env
22 
23  // Callbacks
24  // Constructor, destructor
35  static void* constructor (const nkScripts::DataStack& stack) ;
41  static void destructor (void* toDestroy) ;
42  // Getters
53  static nkScripts::OutputValue getSources (void* data) ;
54  // Setters
65  static void setSources (const nkScripts::DataStack& stack) ;
66  // Manipulations
78  // Global
92  } ;
93 }
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkAstraeus::lua::nkScriptsWrap::ScriptWrapper::constructor
static void * constructor(const nkScripts::DataStack &stack)
nkAstraeus::lua::nkScriptsWrap::ScriptWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env)
nkAstraeus::lua::nkScriptsWrap::ScriptWrapper::setSources
static void setSources(const nkScripts::DataStack &stack)
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkAstraeus::lua::nkScriptsWrap::ScriptWrapper::destructor
static void destructor(void *toDestroy)
nkAstraeus::lua::nkScriptsWrap::ScriptWrapper
Wraps a nkResources::ResourceManager and offer functions for use in scripting.
Definition: ScriptWrapper.h:12
nkAstraeus::lua::nkScriptsWrap::ScriptWrapper::load
static nkScripts::OutputValue load(const nkScripts::DataStack &stack)
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkAstraeus::lua::nkScriptsWrap::ScriptWrapper::call
static nkScripts::OutputValue call(const nkScripts::DataStack &stack)
nkAstraeus::lua::nkScriptsWrap::ScriptWrapper::getSources
static nkScripts::OutputValue getSources(void *data)
nkAstraeus::lua::nkScriptsWrap
Encompasses the wrapping of nkScripts for Lua.
Definition: Constants.h:7